import request from '@/utils/request'

export function getList(data) {
  return request({
    url: '/mgt/dingjiayiju/type/query',
    method: 'post',
    data
  })
}


export function saveByJson(data) {
  return request({
    url: '/mgt/dingjiayiju/type/saveByJson',
    method: 'post',
    data
  })
}

export function batchLock(data) {
  return request({
    url: '/mgt/dingjiayiju/type/batchLock',
    method: 'post',
    data
  })
}

export function batchDelete(data) {
  return request({
    url: '/mgt/dingjiayiju/type/batchDelete',
    method: 'post',
    data
  })
}


export function updateSort(data) {
  return request({
    url: '/mgt/dingjiayiju/type/updateSort',
    method: 'post',
    data
  })
}
